\documentstyle{article}
\begin{document}

\ifx\sevenrm\undefined
  \font\sevenrm=cmr7 scaled \magstep0
\fi

\newread\MyStyle
\openin\MyStyle=src2latex.s2t
\ifeof\MyStyle
  \closein\MyStyle
\else
  \input src2latex.s2t
  \closein\MyStyle
\fi

\ifx\gtfam\undefined
  \ifx\dm\undefined
    \ifx\tendm\undefined
      \def\mc{\null}
    \else
      \def\mc{\tendm}
    \fi
  \else
    \def\mc{\dm}
  \fi
  \ifx\dg\undefined
    \ifx\tendg\undefined
      \def\gt{\null}
    \else
      \def\gt{\tendg}
    \fi
  \else
    \def\gt{\dg}
  \fi
\fi
\ifx\sc\undefined
  \def\sc{\null}
\fi

\tt\mc 

\noindent
{\tt\#}include{\tt <}QApplication{\tt >}

\noindent
{}{\tt\#}include{\tt <}Graph.h{\tt >}

\noindent
{}{\tt\#}include{\tt <}Algorithm.h{\tt >}

\noindent
{}{\tt\#}include{\tt <}Visualizer.h{\tt >}

\noindent
{}{\tt\#}include{\tt <}ContainerElement.h{\tt >}

\noindent
{}\hfill

\noindent
{}int{\tt\mc \kern0.500em}main({\tt\mc \kern0.500em}int{\tt\mc \kern0.500em}argc,{\tt\mc \kern0.500em}char{\tt\mc \kern0.500em}{\tt *}argv[]{\tt\mc \kern0.500em}){\tt\char'173}

\noindent
{}{\tt\mc \kern4.000em}QApplication{\tt\mc \kern0.500em}app(argc,{\tt\mc \kern0.500em}argv);

\noindent
{}{\tt\mc \kern4.000em}

\noindent
{}{\tt\mc \kern4.000em}Graph{\tt\mc \kern0.500em}{\tt *}graph{\tt\mc \kern0.500em}={\tt\mc \kern0.500em}Graph::fromFile({\tt\mc \kern0.500em}{\tt "}simple.graph{\tt "}{\tt\mc \kern0.500em});

\noindent
{}{\tt\mc \kern4.000em}Algorithm{\tt\mc \kern0.500em}{\tt *}a{\tt\mc \kern0.500em}={\tt\mc \kern0.500em}new{\tt\mc \kern0.500em}AlgorithmPath(graph);

\noindent
{}{\tt\mc \kern4.000em}Visualizer{\tt\mc \kern0.500em}{\tt *}visualizer{\tt\mc \kern0.500em}={\tt\mc \kern0.500em}new{\tt\mc \kern0.500em}Visualizer;

\noindent
{}{\tt\mc \kern4.000em}visualizer{\tt -}{\tt >}addAlgorithm(a);

\noindent
{}{\tt\mc \kern4.000em}visualizer{\tt -}{\tt >}show();

\noindent
{}{\tt\mc \kern4.000em}a{\tt -}{\tt >}run();

\noindent
{}{\tt\mc \kern4.000em}

\noindent
{}{\tt\mc \kern4.000em}return{\tt\mc \kern0.500em}app.exec();

\noindent
{}{\tt\char'175}{\tt\mc \kern0.500em}

\noindent
{}

\rm\mc

\end{document}
